<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telephone=no" />
    <title>约来约美 </title>
    
    <link rel="stylesheet" href="${static_host}style/hhframe-1.0.0.css" />
    <link rel="stylesheet" href="${static_host}style/shopdetail.css" />
    <script src="${static_host}script/jquery-1.11.1.min.js"></script>
    <script src="${static_host}script/jquery.iscroll.5.js"></script>
    <script src="${static_host}script/jquery.scroll.js"></script>
    <script src="${static_host}script/hhframe-1.0.0.js"></script>
    <script src="${static_host}script/shopdetail.js?a=1222222"></script>
</head>
<body>
  <div class="framepage shopdetail">
    <!-- header -->
    <div class="header">
      <a href="javascript:history.back()" class="pos-l icon hd-return">返回</a>
      <h1 class="hd-title">${s.store_name}</h1>
      <a href="javascript:;" value="${s.store_id}" class="pos-r icon hd-star ${isfav==1?'selected':''}">收藏</a>
    </div>
    
    <!-- content -->
    <div class="wrapper">
    <div class="content">
      
      <div class="scroll">
        <div class="slide_01" id="slide_01">
        <s:iterator value="s.piclist" var="pic">
          <div class="mod_01"><a href="javascript:;"><img src="${pic }" /></a></div>
          </s:iterator>
        </div>
        <div class="dotModule_new">
          <div id="slide_01_dot"></div>
        </div>
      </div>
      
      <div class="baseinfo">
        <a class="addrs" href="javascript:;">${s.address}</a>
        <a class="phone" href="tel:${s.telephone}">电话</a>
      </div>
      
      <div class="shopintro">
        <h3>店铺介绍</h3>
        <p>${s.description}</p>
      </div>
      
      <s:if test="#request.dislist.size>0">
      <!-- 遍历特惠信息 -->
      <div class="svclist1">
        <ul>
        <s:iterator value="#request.dislist">
             <li>
          <a href="discount!detail.do?id=${id}">
          <img src="${pic}" />
          <div>
          <p class="name tag_discount">${name}</p>
          <p class="info"><span>价格：${price} 元</span><span>${buyer_num} 人购买</span></p>
          </div>
          </a>
        </li>
        </s:iterator>
    </ul>
    </div>
      </s:if>
      
      
      <div class="svclist">
        <ul>
        <s:iterator value="#request.group">
             <li>
          <a href="store!servicesdetail.do?group.group_id=${group_id}">
          <img src="${group_pic}" />
          <div>
          <p class="name">${group_name}</p>
          <p class="info"><span>价格：${group_price} 元</span><span>${buyer_num} 人购买</span></p>
          </div>
          </a>
        </li>
        </s:iterator>
    </ul>
    
    
        <a href="javascript:;" class="more">查看更多</a>
      </div>
      
      <ul class="listview">
      <li><a href="store!emlist.do?id=${s.store_id}">查看技师（${s.beautician_count}人）</a></li>
      <li><a href="store!commentlist.do?id=${s.store_id}&type=1">查看评价（${s.comment_count}条）</a></li>
      </ul>
    
    </div>
    </div>
    
    <!-- footer -->
		<jsp:include page="/inc/storefooter.jsp" />
  
  </div>

</body>
</html>